package cn.dansj.common.mail.utils;

import cn.dansj.common.utils.exception.NestedRuntimeException;

public abstract class MailException extends NestedRuntimeException {

    /**
     * Constructor for MailException.
     *
     * @param msg the detail message
     */
    public MailException(String msg) {
        super(msg);
    }

    /**
     * Constructor for MailException.
     *
     * @param msg   the detail message
     * @param cause the root cause from the mail API in use
     */
    public MailException(String msg, Throwable cause) {
        super(msg, cause);
    }
}
